#ifndef LIGHTFACTORY_H_INCLUDED
#define LIGHTFACTORY_H_INCLUDED
#include "Vec3.h"
#include <glut.h>

class Light
{
public:
	Light(int LightID);
	void SetDirection(GLfloat x, GLfloat y, GLfloat z, GLfloat type);
	void SetAmbient(GLfloat r, GLfloat g, GLfloat b, GLfloat a);
	void SetDiffuse(GLfloat r, GLfloat g, GLfloat b, GLfloat a);
	void SetSpecular(GLfloat r, GLfloat g, GLfloat b, GLfloat a);
	void SpotLight(Vec3 CarPos);
	void Use();
	void Enable();
	void Disable();
	bool IsOn();


private:
	float m_Position[3];
	float m_Ambient[3];
	float m_Diffuse[3];
	float m_Specular[3];
	float m_IsPositional;
	float m_Id;

	bool m_IsOn;
};

#endif